package com.patMall.service.impl;

import com.patMall.entity.CommodityImg;
import com.patMall.mapper.CommodityImgMapper;
import com.patMall.service.CommodityImgService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author 750909637@qq.com
 * @PackageName patMall
 * @Package com.patMall.service.impl
 * @Date 2024/2/23 23:47
 * @Version 1.0
 */
@Service
public class CommodityImgServiceImpl implements CommodityImgService {
    @Resource
    private CommodityImgMapper commodityImgMapper;
    @Override
    public int addCommodityImg(CommodityImg commodityImg) {
        return commodityImgMapper.insertCommodityImg(commodityImg);
    }
}
